using System.ComponentModel.DataAnnotations.Schema;

namespace Lzfy_His_Service.Models
{
    public class RefundAttach
    {
        public int Id { get; set; }
        
        [Column("input_date")]
        public DateTime? InputDate { get; set; }
        
        [Column("attach_name")]
        public string? AttachName { get; set; }
        
        [Column("attach_id")]
        public string? AttachId { get; set; }
        
        [Column("attach_files")]
        public byte[]? AttachFiles { get; set; }
        
        [Column("rel_id")]
        public string? RelId { get; set; }
        
        [Column("file_paths")]
        public string? FilePaths { get; set; }

        [Column("file_id")]
        public string? FileId { get; set; }
    }

    public class RefundAttachCreateRequest
    {
        public string? AttachName { get; set; }
        public string? AttachId { get; set; }
        public string? AttachFilePath { get; set; }
        public string? FilePaths { get; set; }
        public string? FileId { get; set; }
    }

    public class RefundAttachResponse
    {
        public int Id { get; set; }
        public DateTime? InputDate { get; set; }
        public string? AttachName { get; set; }
        public string? AttachId { get; set; }
        public string? AttachFilePath { get; set; }
        public string? RelId { get; set; }
        public string? FilePaths { get; set; }
        public string? FileId { get; set; }
    }
}